package com.mobilepoc.jersey.model;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class TransactionDetail
{
   private String id;
   private Date bookingDate;
   private Date valueDate;
   private String verificationNumber;
   private double amount;
   private String text;
   
   public TransactionDetail(){
      //Makes ws.rs happy
   }
   
   public TransactionDetail(String id, Date bookDate,Date valDate, String verNumber, double amount, String text){
      this.id=id;
      this.bookingDate=bookDate;
      this.valueDate=valDate;
      this.verificationNumber=verNumber;
      this.amount=amount;
      this.text=text;
   }
   
   public String getId() {
      return id;
   }
   
   public void setId(String id) {
      this.id = id;
   }

   public Date getBookingDate() {
      return bookingDate;
   }

   public void setBookingDate(Date bookingDate) {
      this.bookingDate = bookingDate;
   }

   public Date getValueDate() {
      return valueDate;
   }

   public void setValueDate(Date valueDate) {
      this.valueDate = valueDate;
   }

   public String getVerificationNumber() {
      return verificationNumber;
   }

   public void setVerificationNumber(String verificationNumber) {
      this.verificationNumber = verificationNumber;
   }

   public double getAmount() {
      return amount;
   }

   public void setAmount(double amount) {
      this.amount = amount;
   }

   public String getText() {
      return text;
   }

   public void setText(String text) {
      this.text = text;
   }
}
